<!-- 我的统计 -->

<template>
  <div class="AccessStatistic SecureStatistic SecureStatistic-col2">
    <div>
      <MajorTitle title="通行统计" />

      <div class="third">
        <TypeChart v-bind="info.in" />
      </div>
      <div class="third">
        <TypeChart v-bind="info.out" />
      </div>
      <div class="third">
        <TypeChart v-bind="info.temp" />
      </div>
    </div>

    <div>
      <MajorTitle title="累计进出">
        <template #right>
          <ParamRadio :param="infoParam" bind="type" :dict="DICT.DATE" isBtn @change="startInfo" />
        </template>
      </MajorTitle>

      <div>
        <TopRank :top="10" empty="暂无进出" />
      </div>
    </div>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyStatistic',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb(), CORE.mixInfo()],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(
    require.context('../../../components', true, /vue$/),
    require.context('./', true, /vue$/),
  ),
}
</script>

<style lang="scss">
@import '@admin/views/Secure/Track/TrackStatistic/MyStatistic/index.scss';
@import './index.scss';
</style>
